package pl.edu.pw.polygen.ui.explorer;

import pl.edu.pw.polygen.beans.FileBean;
import pl.edu.pw.polygen.beans.ProjectBean;
import pl.edu.pw.polygen.exceptions.ProjectNotExistException;

public interface ProjectTreeTable {

	void loadProjects();
	
	void addProjectBean(ProjectBean projectBean) throws ProjectNotExistException;
	
	void addFileBean(FileBean fileBean) throws ProjectNotExistException;
	
	void renameProject(String oldName, String newName);
	
	void renameFile(String oldProject, String oldFile, String newProject, String newFile);
}
